package com.ht.entity;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * 
 * @author ht
 * @email ht035200@163.com
 * @date 2021-09-23 23:02:31
 */
@Data
@TableName("TABLES")
public class TablesEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private String tableCatalog;
	/**
	 * 
	 */
	private String tableSchema;
	/**
	 * 
	 */
	private String tableName;
	/**
	 * 
	 */
	private String tableType;
	/**
	 * 
	 */
	private String engine;
	/**
	 * 
	 */
	private Long version;
	/**
	 * 
	 */
	private String rowFormat;
	/**
	 * 
	 */
	private Long tableRows;
	/**
	 * 
	 */
	private Long avgRowLength;
	/**
	 * 
	 */
	private Long dataLength;
	/**
	 * 
	 */
	private Long maxDataLength;
	/**
	 * 
	 */
	private Long indexLength;
	/**
	 * 
	 */
	private Long dataFree;
	/**
	 * 
	 */
	private Long autoIncrement;
	/**
	 * 
	 */
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date createTime;
	/**
	 * 
	 */
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**
	 * 
	 */
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date checkTime;
	/**
	 * 
	 */
	private String tableCollation;
	/**
	 * 
	 */
	private Long checksum;
	/**
	 * 
	 */
	private String createOptions;
	/**
	 * 
	 */
	private String tableComment;

}
